Array ( [debugMessage] => app\Graphql\Types\DocumentType::applyStatusidFilter(): Argument #1 ($Doc) must be of type App\Models\CaseDocument, App\Models\CasestepDocument given, called in /var/www/DitfolketingApi/vendor/nuwave/lighthouse/src/Schema/Directives/FieldDirective.php on line 51 [message] => Internal server error [extensions] => Array ( [category] => internal ) [locations] => Array ( [0] => Array ( [line] => 7 [column] => 1 ) ) [path] => Array ( [0] => cases [1] => data [2] => 0 [3] => casesteps [4] => 0 [5] => documents [6] => 0 [7] => document ) [trace] => Array ( [0] => Array ( [file] => /var/www/DitfolketingApi/vendor/nuwave/lighthouse/src/Schema/Directives/FieldDirective.php [line] => 51 [call] => app\Graphql\Types\DocumentType::applyStatusidFilter() ) [1] => Array ( [file] => /var/www/DitfolketingApi/vendor/nuwave/lighthouse/src/Schema/Directives/DropArgsDirective.php [line] => 34 [call] => Nuwave\Lighthouse\Schema\Directives\FieldDirective::Nuwave\Lighthouse\Schema\Directives\{closure}() ) [2] => Array ( [file] => /var/www/DitfolketingApi/vendor/nuwave/lighthouse/src/Schema/Directives/RenameArgsDirective.php [line] => 34 [call] => Nuwave\Lighthouse\Schema\Directives\DropArgsDirective::Nuwave\Lighthouse\Schema\Directives\{closure}() ) [3] => Array ( [file] => /var/www/DitfolketingApi/vendor/nuwave/lighthouse/src/Schema/Directives/SpreadDirective.php [line] => 33 [call] => Nuwave\Lighthouse\Schema\Directives\RenameArgsDirective::Nuwave\Lighthouse\Schema\Directives\{closure}() ) [4] => Array ( [file] => /var/www/DitfolketingApi/vendor/nuwave/lighthouse/src/Schema/Directives/ArgTraversalDirective.php [line] => 26 [call] => Nuwave\Lighthouse\Schema\Directives\SpreadDirective::Nuwave\Lighthouse\Schema\Directives\{closure}() ) [5] => Array ( [file] => /var/www/DitfolketingApi/vendor/nuwave/lighthouse/src/Validation/ValidateDirective.php [line] => 50 [call] => Nuwave\Lighthouse\Schema\Directives\ArgTraversalDirective::Nuwave\Lighthouse\Schema\Directives\{closure}() ) [6] => Array ( [file] => /var/www/DitfolketingApi/vendor/nuwave/lighthouse/src/Schema/Directives/ArgTraversalDirective.php [line] => 26 [call] => Nuwave\Lighthouse\Validation\ValidateDirective::Nuwave\Lighthouse\Validation\{closure}() ) [7] => Array ( [file] => /var/www/DitfolketingApi/vendor/nuwave/lighthouse/src/Schema/Directives/ConvertEmptyStringsToNullDirective.php [line] => 47 [call] => Nuwave\Lighthouse\Schema\Directives\ArgTraversalDirective::Nuwave\Lighthouse\Schema\Directives\{closure}() ) [8] => Array ( [file] => /var/www/DitfolketingApi/vendor/nuwave/lighthouse/src/Schema/Directives/TrimDirective.php [line] => 53 [call] => Nuwave\Lighthouse\Schema\Directives\ConvertEmptyStringsToNullDirective::Nuwave\Lighthouse\Schema\Directives\{closure}() ) [9] => Array ( [file] => /var/www/DitfolketingApi/vendor/nuwave/lighthouse/src/Schema/Factories/FieldFactory.php [line] => 127 [call] => Nuwave\Lighthouse\Schema\Directives\TrimDirective::Nuwave\Lighthouse\Schema\Directives\{closure}() ) [10] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 623 [call] => Nuwave\Lighthouse\Schema\Factories\FieldFactory::Nuwave\Lighthouse\Schema\Factories\{closure}() ) [11] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 550 [call] => GraphQL\Executor\ReferenceExecutor::resolveFieldValueOrError() ) [12] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 1195 [call] => GraphQL\Executor\ReferenceExecutor::resolveField() ) [13] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 1145 [call] => GraphQL\Executor\ReferenceExecutor::executeFields() ) [14] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 1106 [call] => GraphQL\Executor\ReferenceExecutor::collectAndExecuteSubfields() ) [15] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 793 [call] => GraphQL\Executor\ReferenceExecutor::completeObjectValue() ) [16] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 654 [call] => GraphQL\Executor\ReferenceExecutor::completeValue() ) [17] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 887 [call] => GraphQL\Executor\ReferenceExecutor::completeValueCatchingError() ) [18] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 761 [call] => GraphQL\Executor\ReferenceExecutor::completeListValue() ) [19] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 654 [call] => GraphQL\Executor\ReferenceExecutor::completeValue() ) [20] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 557 [call] => GraphQL\Executor\ReferenceExecutor::completeValueCatchingError() ) [21] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 1195 [call] => GraphQL\Executor\ReferenceExecutor::resolveField() ) [22] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 1145 [call] => GraphQL\Executor\ReferenceExecutor::executeFields() ) [23] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 1106 [call] => GraphQL\Executor\ReferenceExecutor::collectAndExecuteSubfields() ) [24] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 793 [call] => GraphQL\Executor\ReferenceExecutor::completeObjectValue() ) [25] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 654 [call] => GraphQL\Executor\ReferenceExecutor::completeValue() ) [26] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 887 [call] => GraphQL\Executor\ReferenceExecutor::completeValueCatchingError() ) [27] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 761 [call] => GraphQL\Executor\ReferenceExecutor::completeListValue() ) [28] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 654 [call] => GraphQL\Executor\ReferenceExecutor::completeValue() ) [29] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 557 [call] => GraphQL\Executor\ReferenceExecutor::completeValueCatchingError() ) [30] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 1195 [call] => GraphQL\Executor\ReferenceExecutor::resolveField() ) [31] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 1145 [call] => GraphQL\Executor\ReferenceExecutor::executeFields() ) [32] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 1106 [call] => GraphQL\Executor\ReferenceExecutor::collectAndExecuteSubfields() ) [33] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 793 [call] => GraphQL\Executor\ReferenceExecutor::completeObjectValue() ) [34] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 741 [call] => GraphQL\Executor\ReferenceExecutor::completeValue() ) [35] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 654 [call] => GraphQL\Executor\ReferenceExecutor::completeValue() ) [36] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 887 [call] => GraphQL\Executor\ReferenceExecutor::completeValueCatchingError() ) [37] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 761 [call] => GraphQL\Executor\ReferenceExecutor::completeListValue() ) [38] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 741 [call] => GraphQL\Executor\ReferenceExecutor::completeValue() ) [39] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 654 [call] => GraphQL\Executor\ReferenceExecutor::completeValue() ) [40] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 557 [call] => GraphQL\Executor\ReferenceExecutor::completeValueCatchingError() ) [41] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 1195 [call] => GraphQL\Executor\ReferenceExecutor::resolveField() ) [42] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 1145 [call] => GraphQL\Executor\ReferenceExecutor::executeFields() ) [43] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 1106 [call] => GraphQL\Executor\ReferenceExecutor::collectAndExecuteSubfields() ) [44] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 793 [call] => GraphQL\Executor\ReferenceExecutor::completeObjectValue() ) [45] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 654 [call] => GraphQL\Executor\ReferenceExecutor::completeValue() ) [46] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 557 [call] => GraphQL\Executor\ReferenceExecutor::completeValueCatchingError() ) [47] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 1195 [call] => GraphQL\Executor\ReferenceExecutor::resolveField() ) [48] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 264 [call] => GraphQL\Executor\ReferenceExecutor::executeFields() ) [49] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/ReferenceExecutor.php [line] => 215 [call] => GraphQL\Executor\ReferenceExecutor::executeOperation() ) [50] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/Executor/Executor.php [line] => 156 [call] => GraphQL\Executor\ReferenceExecutor::doExecute() ) [51] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/GraphQL.php [line] => 162 [call] => GraphQL\Executor\Executor::promiseToExecute() ) [52] => Array ( [file] => /var/www/DitfolketingApi/vendor/webonyx/graphql-php/src/GraphQL.php [line] => 94 [call] => GraphQL\GraphQL::promiseToExecute() ) [53] => Array ( [file] => /var/www/DitfolketingApi/vendor/nuwave/lighthouse/src/GraphQL.php [line] => 270 [call] => GraphQL\GraphQL::executeQuery() ) [54] => Array ( [file] => /var/www/DitfolketingApi/vendor/nuwave/lighthouse/src/GraphQL.php [line] => 204 [call] => Nuwave\Lighthouse\GraphQL::executeParsedQuery() ) [55] => Array ( [file] => /var/www/DitfolketingApi/vendor/nuwave/lighthouse/src/GraphQL.php [line] => 163 [call] => Nuwave\Lighthouse\GraphQL::parseAndExecuteQuery() ) [56] => Array ( [file] => /var/www/DitfolketingApi/vendor/nuwave/lighthouse/src/GraphQL.php [line] => 122 [call] => Nuwave\Lighthouse\GraphQL::executeOperation() ) [57] => Array ( [file] => /var/www/DitfolketingApi/vendor/nuwave/lighthouse/src/Support/Utils.php [line] => 114 [call] => Nuwave\Lighthouse\GraphQL::Nuwave\Lighthouse\{closure}() ) [58] => Array ( [file] => /var/www/DitfolketingApi/vendor/nuwave/lighthouse/src/GraphQL.php [line] => 121 [call] => Nuwave\Lighthouse\Support\Utils::mapEach() ) [59] => Array ( [file] => /var/www/DitfolketingApi/vendor/nuwave/lighthouse/src/Support/Http/Controllers/GraphQLController.php [line] => 32 [call] => Nuwave\Lighthouse\GraphQL::executeOperationOrOperations() ) [60] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php [line] => 48 [call] => Nuwave\Lighthouse\Support\Http\Controllers\GraphQLController::__invoke() ) [61] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Routing/Route.php [line] => 262 [call] => Illuminate\Routing\ControllerDispatcher::dispatch() ) [62] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Routing/Route.php [line] => 205 [call] => Illuminate\Routing\Route::runController() ) [63] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Routing/Router.php [line] => 721 [call] => Illuminate\Routing\Route::run() ) [64] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php [line] => 128 [call] => Illuminate\Routing\Router::Illuminate\Routing\{closure}() ) [65] => Array ( [file] => /var/www/DitfolketingApi/vendor/nuwave/lighthouse/src/Support/Http/Middleware/AttemptAuthentication.php [line] => 33 [call] => Illuminate\Pipeline\Pipeline::Illuminate\Pipeline\{closure}() ) [66] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php [line] => 167 [call] => Nuwave\Lighthouse\Support\Http\Middleware\AttemptAuthentication::handle() ) [67] => Array ( [file] => /var/www/DitfolketingApi/vendor/nuwave/lighthouse/src/Support/Http/Middleware/AcceptJson.php [line] => 26 [call] => Illuminate\Pipeline\Pipeline::Illuminate\Pipeline\{closure}() ) [68] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php [line] => 167 [call] => Nuwave\Lighthouse\Support\Http\Middleware\AcceptJson::handle() ) [69] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php [line] => 103 [call] => Illuminate\Pipeline\Pipeline::Illuminate\Pipeline\{closure}() ) [70] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Routing/Router.php [line] => 723 [call] => Illuminate\Pipeline\Pipeline::then() ) [71] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Routing/Router.php [line] => 698 [call] => Illuminate\Routing\Router::runRouteWithinStack() ) [72] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Routing/Router.php [line] => 662 [call] => Illuminate\Routing\Router::runRoute() ) [73] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Routing/Router.php [line] => 651 [call] => Illuminate\Routing\Router::dispatchToRoute() ) [74] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php [line] => 167 [call] => Illuminate\Routing\Router::dispatch() ) [75] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php [line] => 128 [call] => Illuminate\Foundation\Http\Kernel::Illuminate\Foundation\Http\{closure}() ) [76] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php [line] => 21 [call] => Illuminate\Pipeline\Pipeline::Illuminate\Pipeline\{closure}() ) [77] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php [line] => 31 [call] => Illuminate\Foundation\Http\Middleware\TransformsRequest::handle() ) [78] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php [line] => 167 [call] => Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::handle() ) [79] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php [line] => 21 [call] => Illuminate\Pipeline\Pipeline::Illuminate\Pipeline\{closure}() ) [80] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php [line] => 40 [call] => Illuminate\Foundation\Http\Middleware\TransformsRequest::handle() ) [81] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php [line] => 167 [call] => Illuminate\Foundation\Http\Middleware\TrimStrings::handle() ) [82] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php [line] => 27 [call] => Illuminate\Pipeline\Pipeline::Illuminate\Pipeline\{closure}() ) [83] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php [line] => 167 [call] => Illuminate\Foundation\Http\Middleware\ValidatePostSize::handle() ) [84] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php [line] => 86 [call] => Illuminate\Pipeline\Pipeline::Illuminate\Pipeline\{closure}() ) [85] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php [line] => 167 [call] => Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance::handle() ) [86] => Array ( [file] => /var/www/DitfolketingApi/vendor/fruitcake/laravel-cors/src/HandleCors.php [line] => 38 [call] => Illuminate\Pipeline\Pipeline::Illuminate\Pipeline\{closure}() ) [87] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php [line] => 167 [call] => Fruitcake\Cors\HandleCors::handle() ) [88] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php [line] => 39 [call] => Illuminate\Pipeline\Pipeline::Illuminate\Pipeline\{closure}() ) [89] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php [line] => 167 [call] => Illuminate\Http\Middleware\TrustProxies::handle() ) [90] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php [line] => 103 [call] => Illuminate\Pipeline\Pipeline::Illuminate\Pipeline\{closure}() ) [91] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php [line] => 142 [call] => Illuminate\Pipeline\Pipeline::then() ) [92] => Array ( [file] => /var/www/DitfolketingApi/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php [line] => 111 [call] => Illuminate\Foundation\Http\Kernel::sendRequestThroughRouter() ) [93] => Array ( [file] => /var/www/DitfolketingApi/public/index.php [line] => 52 [call] => Illuminate\Foundation\Http\Kernel::handle() ) ) )